<?php
class CmsPostEditControl extends CmsBaseControl
{
    protected $useTemplate = false;

    public function Render()
    {
        $id = RequestHandler::Get('post_id');
        $form = new CmsFormGroupControl('CmsPostEdit', $id);
        $tag = new CmsPostTagsControl($id);

        $c = new CmsAdminContainerControl();
        $c->AddSideBar($tag->Render());
        $c->AddContent($form->Render());

        return $c->Render();
    }
}
?>
